<?php

use Illuminate\Database\Seeder;
use App\User;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        DB::table('users')->delete();
        User::create([
            'id'=>'1',
            'admin'=>'1',
            'name'=>'王大伟',
            'email'=>'wdv@gootop.net',
            'password'=>Hash::make('1'),
        ]);

    }
}
